package com.wc.service.impl;

import com.wc.dao.DeptDao;
import com.wc.dao.impl.DeptDaoImpl;
import com.wc.domain.Emp;
import com.wc.service.DeptService;

/**
 * @ClassName:DeptServiceImpl
 * @Author:王浩
 * @Date:2022/3/24 12:41
 * @Describe
 */
public class DeptServiceImpl implements DeptService {
    private DeptDao deptDao = new DeptDaoImpl();
    @Override
    public Emp selectEmpByEmpno(Integer empno) {
        return deptDao.selectEmpByEmpno(empno);
    }

    @Override
    public boolean updateEmp(Emp emp) {
        return deptDao.updateEmp(emp);
    }
}
